package com.share.feign;

import com.share.common.core.web.domain.AjaxResult;
import io.swagger.v3.oas.annotations.Operation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "share-rule")
public interface FeeRuleFeignClient {

    /**
     * 获取费用规则详细信息
     */
    @GetMapping("/feeRule/{id}") // 拼接前缀路径与方法路径
    AjaxResult getInfo(@PathVariable("id") Long id);
}
